$OpenBSD: patch-lgeneral_gui_c,v 1.2 2017/05/20 17:13:01 espie Exp $

Index: lgeneral/gui.c
--- lgeneral/gui.c.orig
+++ lgeneral/gui.c
@@ -565,7 +565,7 @@ Window* create_edit( Window *parent, int id, SDL_Surfa
         /* if frame pic == 0 leave away the frame */
         if ( frame_pic != 0 ) {
             /* frame tile size */
-            tile_size = tile_size = frame_pic->w / 3;
+            tile_size = frame_pic->w / 3;
             /* add horizontal top/bottom line */
             for ( i = tile_size; i < width - tile_size; i += tile_size ) {
 
@@ -896,7 +896,7 @@ Window* create_list( Window *parent, int id, SDL_Surfa
         /* if frame pic == 0 leave away the frame */
         if ( frame_pic != 0 ) {
             /* frame tile size */
-            tile_size = tile_size = frame_pic->w / 3;
+            tile_size = frame_pic->w / 3;
             /* add horizontal top/bottom line */
             for ( i = tile_size; i < width - tile_size; i += tile_size ) {
 
@@ -1118,7 +1118,7 @@ Window* create_simple_list( Window *parent, int id, SD
         /* if frame pic == 0 leave away the frame */
         if ( frame_pic != 0 ) {
             /* frame tile size */
-            tile_size = tile_size = frame_pic->w / 3;
+            tile_size = frame_pic->w / 3;
             /* add horizontal top/bottom line */
             for ( i = tile_size; i < width - tile_size; i += tile_size ) {
 
@@ -1372,7 +1372,7 @@ Window* create_frame_icon( Window *parent, int id, SDL
     /* if frame pic == 0 leave away the frame */
     if ( frame_pic != 0 ) {
         /* frame tile size */
-        tile_size = tile_size = frame_pic->w / 3;
+        tile_size = frame_pic->w / 3;
         /* add horizontal top/bottom line */
         for ( i = tile_size; i < width - tile_size; i += tile_size ) {
 
